package com.jake.springboot.mybatis.mapper;

import com.jake.springboot.mybatis.domain.IdentityCard;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface IdentityCardMapper {

    IdentityCard getById(int cardId);

    void updateByCustomerId(@Param("card") IdentityCard card, @Param("customerId") int customerId);
}
